﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using System.Collections.ObjectModel;

namespace Prism.Core.Storage
{
    /// <summary>
    /// 差分文件总表。
    /// </summary>
    public class DifferentialDataTable : Collection<DifferentialDataList>
    {
        public DifferentialDataTable()
        {
            this.IsEmpty = true;
            this.LastedVersion = new Version();
            this.GroupDataLength = new Dictionary<string, int>();
        }

        /// <summary>
        /// 存放对应群组文件的文件长度信息，TKey是群组名称，TValue是长度值。
        /// </summary>
        public Dictionary<string, int> GroupDataLength { get; set; }

        public Version LastedVersion { get; set; }

        public bool IsEmpty { get; set; }
    }
}
